package com.dk.mapper;

import com.dk.pojo.SslMenu;
import com.dk.pojo.SslMenuExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SslMenuMapper {
    int countByExample(SslMenuExample example);

    int deleteByExample(SslMenuExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SslMenu record);

    int insertSelective(SslMenu record);

    List<SslMenu> selectByExample(SslMenuExample example);

    SslMenu selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SslMenu record, @Param("example") SslMenuExample example);

    int updateByExample(@Param("record") SslMenu record, @Param("example") SslMenuExample example);

    int updateByPrimaryKeySelective(SslMenu record);

    int updateByPrimaryKey(SslMenu record);


    List<Integer> selectMenuIdByRoleId(@Param("roleId") Integer roleId);

    List<SslMenu> findMenuByPersonId(@Param("pid") Integer pid);

    List<String> getMenuById(@Param("pid") Integer pid);
}